<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/12/13
 * Time: 11:23
 */

$num = '623509'.rand(1000000,9999999);


?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>
<h1>开卡页面</h1>
<form action="insertCardAction.php" method="post">
    <table border="0" cellspacing="0" cellpadding="10px">
        <tr>
            <td>卡号：</td>
            <td><input type="text" name="cardno" id="" value="<?php echo $num?>" readonly></td>
        </tr>
        <tr>
            <td>请输入开卡人的姓名：</td>
            <td><input type="text" name="username" id="" value="" ></td>
        </tr>
        <tr>
            <td>请输入开卡人的身份证号码：</td>
            <td><input type="text" name="usercode" id="" value="" ></td>
        </tr>
        <tr>
            <td>请输入开卡预存金额：</td>
            <td><input type="text" name="money" id="" value="" ></td>
        </tr>
        <tr>
            <td>请输入开卡密码：</td>
            <td><input type="text" name="pwd1" id="" value="" ></td>
        </tr>
        <tr>
            <td>请确认开卡密码：</td>
            <td><input type="text" name="pwd2" id="" value="" ></td>
        </tr>
    </table>
    <input type="submit" value="注册"/>
    <a href="administrator.php">返回</a>
</form>
</body>
</html>
